package com.wad.manager.mapper;

import com.wad.dto.product.CategoryBrandDto;
import com.wad.entity.product.CategoryBrand;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author wad
 * @date 2023/12/08 11:12
 * @project e-commerce
 **/
@Mapper
public interface CategoryBrandMapper {


    List<CategoryBrand> findByPage(CategoryBrandDto categoryBrandDto);


    void save(CategoryBrand categoryBrand);

    void update(CategoryBrand categoryBrand);

    void deleteById(@Param("id") Long id);
}
